# -*- coding: utf-8 -*-
"""
@Project: base_python
@File: names.py
@Author: PC
@Date: 2025/2/11
@Description: 
"""

from unit.name_function import get_formatted_name
print("Enter 'q'at any time to quit.")
while True:
    first = input("\nPlease give me a first name:")
    if first == 'q':
        break
    last = input("Please give me a last name:")
    if last == 'q':
        break
    formatted_name = get_formatted_name(first,last)
    print("\tNeatly formatted name:"+formatted_name+'.')